package gofarmlib

const (
	BufferSize    = 1024 * 10  // 缓冲区大小
	MaxBufferSize = 1024 * 100 // 最大缓冲区大小
	GFrameHeader  = 0x02020202 // 帧头
	GFrameEnd     = 0x03030303 // 帧尾
	ClientType    = "client"   // 客户端类型
	Login         = "login"    // 登录
	Command       = "cmd"      // 808命令
)

var (
	GFrameHeaderBytes = []byte{0x02, 0x02, 0x02, 0x02} // 帧头字节数组
	GFrameEndBytes    = []byte{0x03, 0x03, 0x03, 0x03} // 帧尾字节数组
)
